package cn.stylefeng.guns.modular.bs.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.bs.entity.BsWarehousePro;
import cn.stylefeng.guns.modular.bs.model.params.BsWarehouseProParam;
import cn.stylefeng.guns.modular.bs.model.result.BsWarehouseProResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 大屏-仓库信息 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2025-07-15
 */
public interface BsWarehouseProService extends IService<BsWarehousePro> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    void add(BsWarehouseProParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    void delete(BsWarehouseProParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    void update(BsWarehouseProParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    BsWarehouseProResult findBySpec(BsWarehouseProParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    List<BsWarehouseProResult> findListBySpec(BsWarehouseProParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
     LayuiPageInfo findPageBySpec(BsWarehouseProParam param, String condition);

}
